package com.yj.springbootdesign.observe;

public class Hero extends Subject {

    public void move(){
        System.out.println("主角移动");
        super.notifyObserver();
    }
}
